package com.jc.auth.domain.convert;

import com.jc.auth.domain.entity.AuthPermissionBO;
import com.jc.auth.domain.entity.AuthRolePermissionBO;
import com.jc.auth.infra.basic.entity.AuthPermission;
import com.jc.auth.infra.basic.entity.AuthRolePermission;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @Description: 角色权限bo转化器
 * @Author: ASL_ly
 * @Package: com.jc.auth.application.convert
 * @Project: jc-club
 * @Date: 2024/10/28  22:48
 */
@Mapper
public interface AuthRolePermissionBOConverter {

    AuthRolePermissionBOConverter INSTANCE = Mappers.getMapper(AuthRolePermissionBOConverter.class);

    AuthRolePermission convertBOToRolePermission(AuthRolePermissionBO authRolePermissionBO);
}
